//
//  RootViewController.m
//  NavigationBarSetting
//
//  Created by 崔宝印 on 14/11/17.
//  Copyright (c) 2014年 Koolearn. All rights reserved.
//

#import "RootViewController.h"

@interface RootViewController ()

@end

@implementation RootViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [self navigationBarBackgroundWithImage:[UIImage imageNamed:@"nav_background"]];
    [self navigationBarTitle:@"NavgationBar" attribute:@{NSFontAttributeName:[UIFont boldSystemFontOfSize:15],NSForegroundColorAttributeName:[UIColor redColor]}];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}


- (IBAction)goNext:(id)sender
{
    SecondViewController *controller = [[SecondViewController alloc] init];
    [self.navigationController pushViewController:controller animated:YES];
}

- (IBAction)goThree:(id)sender
{
    ThreeViewController *controller = [[ThreeViewController alloc] init];
    [self.navigationController pushViewController:controller animated:YES];
}
@end
